<?php

	namespace app\index\controller\ohcard;

	use app\common\controller\Frontend;
	use app\common\model\ohcard\Ohcard as OhcardModel;

	class Ohcard extends Frontend{
    	protected $layout = 'default';
		protected $noNeedRight = '*';
		protected $model = null;

		public function _initialize(){
			parent::_initialize();

			$this->model = new OhcardModel();

			$this->view->assign('title', __('360°识人'));
		}

		public function lists(){
			$where = $this->request->get();
			$list = $this->model->getList($where);
			return $this->success('','',$list);
		}
	}